package com.visionet.school.app.web.entity.entrust;

import com.visionet.school.app.web.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by hxpeng on 2017/3/2.
 */

@Entity
@Table(name = "t_entrust")
public class Entrust extends IdEntity {

    private String entrustType;

    private String entrustAudioPath;

    private String entrustContent;

    @NotNull
    private String entrustId;

    @NotNull
    private String entrustName;

    @NotNull
    private String toEntrustId;

    @NotNull
    private String toEntrustName;

    @NotNull
    private String toEntrustChildId;

    @NotNull
    private String toEntrustChildName;

    @NotNull
    private Date entrustTime;

    private Date executeTime;

    @NotNull
    private String entrustState;

    private String importantState;

    public String getEntrustContent() {
        return entrustContent;
    }

    public void setEntrustContent(String entrustContent) {
        this.entrustContent = entrustContent;
    }

    public String getEntrustId() {
        return entrustId;
    }

    public void setEntrustId(String entrustId) {
        this.entrustId = entrustId;
    }

    public String getEntrustName() {
        return entrustName;
    }

    public void setEntrustName(String entrustName) {
        this.entrustName = entrustName;
    }

    public String getToEntrustId() {
        return toEntrustId;
    }

    public void setToEntrustId(String toEntrustId) {
        this.toEntrustId = toEntrustId;
    }

    public String getToEntrustName() {
        return toEntrustName;
    }

    public void setToEntrustName(String toEntrustName) {
        this.toEntrustName = toEntrustName;
    }

    public Date getEntrustTime() {
        return entrustTime;
    }

    public void setEntrustTime(Date entrustTime) {
        this.entrustTime = entrustTime;
    }

    public Date getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(Date executeTime) {
        this.executeTime = executeTime;
    }

    public String getEntrustState() {
        return entrustState;
    }

    public void setEntrustState(String entrustState) {
        this.entrustState = entrustState;
    }

    public String getToEntrustChildName() {
        return toEntrustChildName;
    }

    public void setToEntrustChildName(String toEntrustChildName) {
        this.toEntrustChildName = toEntrustChildName;
    }

    public String getToEntrustChildId() {
        return toEntrustChildId;
    }

    public void setToEntrustChildId(String toEntrustChildId) {
        this.toEntrustChildId = toEntrustChildId;
    }

    public String getEntrustType() {
        return entrustType;
    }

    public void setEntrustType(String entrustType) {
        this.entrustType = entrustType;
    }

    public String getEntrustAudioPath() {
        return entrustAudioPath;
    }

    public void setEntrustAudioPath(String entrustAudioPath) {
        this.entrustAudioPath = entrustAudioPath;
    }

    public String getImportantState() {
        return importantState;
    }

    public void setImportantState(String importantState) {
        this.importantState = importantState;
    }
}
